package com.lmt_5;

public class Uers implements Cloneable //一种规则，继承这种接口就可以科隆
{
    public Uers(String passwd, double[] scores, String name) {
        this.passwd = passwd;
        this.scores = scores;
        this.name = name;
    }

    private String name;
    private String passwd;
    private double[] scores;

    public void setName(String name) {
        this.name = name;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public void setScores(double[] scores) {
        this.scores = scores;
    }

    public String getName() {
        return name;
    }

    public double[] getScores() {
        return scores;
    }

    public String getPasswd() {
        return passwd;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
